package com.tedu.parkinglot.parkRecord.pojo.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ParkRecordVO {

    private Long id;
    @ExcelProperty(value = "停车卡id")
    private Long carId;
    @ExcelProperty(value = "使用时长")
    private Long userTime;
    @ExcelProperty(value = "进场时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date entranceTime;
    @ExcelProperty(value = "离场时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date leaveTime;

    private Long parkingId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date create_time;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date update_time;
}
